package com.ls.customer.feignclients;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;


/**
 * @author 钰杰
 * @className PayFeignClients
 * @description VX:FengYJ996
 * @date 2020/1/718:38
 */
@FeignClient(value = "ls-payway")
public interface PayFeignClients {

    @RequestMapping(value = "/toPay", method = RequestMethod.GET)
    public String toPay(@RequestParam("appid") String appid,
                        @RequestParam("appname") String appname,
                        @RequestParam("subject") String subject);

}
